package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.ProductSpec;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author hao
 * @Date 2023/10/23 17:54
 * @PackageName:com.atguigu.spzx.manager.service
 * @ClassName: ProductSpecService
 * @Description: TODO
 * @Version 1.0
 */
public interface ProductSpecService {
    PageInfo<ProductSpec> findByPage(Integer page, Integer limit);

    void save(ProductSpec productSpec);

    void updateById(ProductSpec productSpec);

    void deleteById(Long id);

    List<ProductSpec> findAll();

}
